package cn.e4j.modular.crm.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.time.LocalDate;
import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author shixc
 * @since 2019-01-16
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWEB_T")
public class GwebT extends PO<GwebT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWEB001", type = IdType.INPUT)
    private String GWEB001;
    @Excel(name = "客户编号")
    private String GWEB002;
    private String GWEB003;
    @Excel(name = "产品编号")
    private String GWEB004;
    private String GWEB005;
    private String GWEB006;
    @Excel(name = "客户产品")
    private String GWEB007;
    @Excel(name = "品名")
    private String GWEB008;
    @Excel(name = "规格")
    private String GWEB009;
    @Excel(name = "备注")
    private String GWEB010;
    private String GWEB011;
    private String GWEB101;
    private String GWEB102;
    private String GWEB103;
    private String GWEB104;
    private String GWEB105;
    private String GWEB106;
    private String GWEB107;
    private String GWEB108;
    private String GWEBPLANT;
    private String GWEBLEGAL;
    private String GWEBACTI;
    @TableField(fill = FieldFill.INSERT)
    private String GWEBUSER;
    @TableField(fill = FieldFill.INSERT)
    private String GWEBGRUP;
    @TableField(fill = FieldFill.UPDATE)
    private String GWEBMODU;
    @TableField(fill = FieldFill.INSERT)
    private String GWEBTIME;
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWEBDATE;
    @TableField(fill = FieldFill.INSERT)
    private String GWEBORIG;
    @TableField(fill = FieldFill.INSERT)
    private String GWEBORIU;


    @Override
    protected Serializable pkVal() {
        return this.GWEB001;
    }

}
